import Layout from '@/views/layout/Layout'

const orgRouter = {
  path: '/org',
  component: Layout,
  name: 'Org',
  meta: {
    title: '组织架构',
    icon: 'tree'
  },
  children: [{
    path: 'department',
    name: 'Department',
    component: () =>
      import('@/views/org/department'),
    meta: {
      title: '部门管理'
    }
  },
    {
      path: 'employee',
      name: 'Employee',
      component: () =>
        import('@/views/org/employee'),
      meta: {
        title: '员工管理'
      }
    }
  ]
};
export default orgRouter
